//
//  UserModel.h
//
//  Created by ios on 2016/11/1.
//  Copyright © 2016年 appleLJ. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UserModel : NSObject
/**
 *  用户名
 */
@property (nonatomic, strong) NSString *userID;
@property (nonatomic, strong) NSString *mobile;
@property (nonatomic, strong) NSString *openId;
@property (nonatomic, strong) NSString *userPocketID;
@property (nonatomic, strong) NSString *nickName;
@property (nonatomic, strong) NSString *imgUrl;
@property (nonatomic, strong) NSString *token;
@property (nonatomic, strong) NSString * baiJin;//判断白金状态
@property (nonatomic, strong) NSString *cookie;

+ (UserModel*)sharedInstanced;

/**
 *  设置id
 *
 *  @param userID id
 */
- (void)setUserID:(NSString *)userID;

/**
 *  设置openid
 *
 *  @param openId id
 */
- (void)setOpenId:(NSString *)openId;

/**
 设置用户名

 @param nickName 用户名
 */
- (void)setNickName:(NSString *)nickName;
/**
 设置背景图片
 
 @param imgUrl 背景图片
 */
- (void)setImgUrl:(NSString *)imgUrl;

/**
 cookie
 
 @param cookie
 */
- (void)setCookie:(NSString *)cookie;

/**
 token

 @param token token description
 */
- (void)setToken:(NSString *)token;

/**
 *  判断白金状态
 *
 *  @param baiJin 白金会员 0不是 1是 默认0
 */
- (void)setBaiJin:(NSString *)baiJin;
@end
